package cn.hxsteel.storage.module.tempturnover.model;

/**
 * 出库单的业务对象，包含了出库表单据信息和该单据对应的库存明细
 */
public class SheetVO
{
    private int    id;
    private String code     = "";
    private String createTime;
    private int    stepKind;
    private int    sid;
    private String name     = "";
    private String material = "";
    private String origin   = "";
    private String norm     = "";
    private int    number;
    private double weight;
    private int    depotID;
    private int    goodsID;
    
    public int getId()
    {
	return id;
    }
    
    public void setId( int id )
    {
	this.id = id;
    }
    
    public String getCode()
    {
	return code;
    }
    
    public void setCode( String code )
    {
	this.code = code;
    }
    
    public String getCreateTime()
    {
	return createTime;
    }
    
    public void setCreateTime( String createTime )
    {
	this.createTime = createTime;
    }
    
    public int getSid()
    {
	return sid;
    }
    
    public void setSid( int sid )
    {
	this.sid = sid;
    }
    
    public String getName()
    {
	return name;
    }
    
    public void setName( String name )
    {
	this.name = name;
    }
    
    public String getMaterial()
    {
	return material;
    }
    
    public void setMaterial( String material )
    {
	this.material = material;
    }
    
    public String getOrigin()
    {
	return origin;
    }
    
    public void setOrigin( String origin )
    {
	this.origin = origin;
    }
    
    public String getNorm()
    {
	return norm;
    }
    
    public void setNorm( String norm )
    {
	this.norm = norm;
    }
    
    public int getNumber()
    {
	return number;
    }
    
    public void setNumber( int number )
    {
	this.number = number;
    }
    
    public double getWeight()
    {
	return weight;
    }
    
    public void setWeight( double weight )
    {
	this.weight = weight;
    }
    
    public int getDepotID()
    {
	return depotID;
    }
    
    public void setDepotID( int depotID )
    {
	this.depotID = depotID;
    }
    
    @Override
    public String toString()
    {
	// @formatter:off
	return "{" +
		"__status:null" + "," + 
		"id:" + id + "," + 
		"code:\"" + code + "\"," + 
		"createTime:\"" + getCreateTime() + "\"," + 
		"stepKind:" + stepKind + "," + 
		"sid:" + sid + "," + 
		"name:\"" + name + "\"," + 
		"material:\"" + material + "\"," + 
		"origin:\"" + origin + "\"," + 
		"norm:\"" + norm + "\"," + 
		"number:" + number + "," + 
		"weight:" + weight + "," + 
		"depotID:" + depotID +
		"}";
    }

    public int getGoodsID()
    {
	return goodsID;
    }

    public void setGoodsID( int goodsID )
    {
	this.goodsID = goodsID;
    }

    public int getStepKind()
    {
	return stepKind;
    }

    public void setStepKind( int stepKind )
    {
	this.stepKind = stepKind;
    }
    
}
